package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Bookmaker;
import org.hxyjs.page.PageInfo;

public interface BookmakerService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Bookmaker> getAllBookmakers() throws Exception;
    /**
     *  查询学生带选课
     * @param bno
     * @return
     */

    public DTO<Bookmaker> deleteBookmakerByBno(String bno) throws Exception;
    /**
     *  删除学生
     * @param bookmaker
     * @return
     */
    public DTO<Bookmaker> updateBookmakerByBno(Bookmaker bookmaker)  throws Exception;
    /**
     *  增加学生
     * @param bookmaker
     * @return
     */
    public DTO<Bookmaker> addBookmaker(Bookmaker bookmaker)  throws Exception;

    public DTO<Bookmaker> getBookmakerByBno(String bno)  throws Exception;

    public DTO<Bookmaker> getBookmakerByPage(PageInfo pageInfo ,String cacheId) throws Exception;

    public DTO<Bookmaker> getBookmakerByPage(PageInfo pageInfo) throws Exception;

//    public DTO<Bookmaker> selectBookmakerWithorderAndUser(String bno) throws Exception;


}
